<?php

	add_action( 'wp_enqueue_scripts', 'pf_load_res' );
	function pf_load_res()
    {	
		if ( is_page_template('page-portfolio.php') ) {	
			//wp_enqueue_script('jquery-mousewheel', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'scripts/fancybox/jquery.mousewheel-3.0.4.pack.js');	
			wp_enqueue_script('jquery-fancybox', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'scripts/fancybox/jquery.fancybox-1.3.4.pack.js', array('jquery'));	
			
			wp_enqueue_script('fancybox-portfolio', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'scripts/fancybox.jquery.js', array('jquery'));
			wp_enqueue_style('style-fancybox', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'scripts/fancybox/jquery.fancybox-1.3.4.css');	
		
			
			wp_enqueue_script('jquery-isotope', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'filterable/js/jquery.isotope.js', array('jquery'));		
			wp_enqueue_script('isotope-portfolio', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'filterable/js/portfolio.isotope.js', array('jquery'));
			wp_enqueue_style('style-isotope', trailingslashit( CVINCLUDES_PORTFOLIO_URI ) . 'filterable/css/isotope.css');	
		}
    }	
   
?>
